package com.java.service;

import com.java.domain.ActivitySport;
import com.java.domain.event.ActivitySportEvent;
import com.java.util.resp.BaseRespone;
import com.java.util.resp.TableRespone;

public interface SportService {

	TableRespone getListByLast();

	TableRespone getListByType(Integer type, String title, Integer publish, int page, int size);

	ActivitySportEvent getOne(String sportId);
	
	BaseRespone saveSport(ActivitySport sport);

	BaseRespone sportPublish(String sportId, Integer publish);
	
	BaseRespone delSport(String sportId);
	
	int getCountOfDay(String dateStr);

}
